﻿using Coding4Fun.Phone.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

/**
 * 创建时间：2014/9/20 14:41:27
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace YoucaiReader.Helper
{
    public class Prompt
    {
        public Prompt()
        {
        }

        public static void PromptMessage(string msg)
        {
            ToastPrompt toastPrompt = new ToastPrompt()
            {
                Title = msg,
                FontSize = 24,
                Background = new SolidColorBrush(Color.FromArgb(255, 0, 0, 0)),
                Foreground = new SolidColorBrush(Color.FromArgb(255, 255, 255, 255))
            };
            toastPrompt.Show();
        }
    }
}
